package aTurk2;

import java.util.Comparator;

public class IdComperator implements Comparator<Problem>{

	@Override
	public int compare(Problem o1, Problem o2) {
		if(o1.id>o2.id)
			return 1;
		else if(o1.id<o2.id)
			return -1;
		else
			return 0;
	}

}
